home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / 4D Feb Etrnls.cpt / Feb.Ext.rsrc / 4DTE_15004 < prev    next >
Text File  |  1988-02-16  |  674b  |  14 lines

  1. ChangeItemIcon(Expr1;Expr2;Expr3)
  2.    Expr1, Expr2, Expr3 are of type Numeric.
  3.  
  4. ChangeItemIcon changes the icon of an item in a menu. Expr1 is the menu ID, Expr2 is the line ID, Expr3 is the resource Icon ID.
  5.  
  6. If the item does not exist, ChangeItemIcon does not nothing.
  7.  
  8. The icon put in the item is one whose resource ID is equal to Expr3+256.
  9.  
  10. To delete an icon from an item, pass 0 in the Expr3 paramater.
  11.  
  12. Important:
  13. This procedure is local to the current menu bar, if you change the menu bar by calling MENU BAR, the next time you use the current menu bar, it will be displayed as it is defined in Design and NOT with the change you had implemented with ChangeItemIcon.
  14.